package com.qidian.mes.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author 陈俊成
 * @Company ccc
 * @Description
 * @Time 2024/10/23 16:26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WorkOrder {
    private int workOrderRelId;
    private String workOrderNumber;
    private String workOrderName;
    private int workOrderSource;
    private String orderNumber;
    private int documentStatus;
    private String workOrderStatus;
    private int orderMaterialId;
    private int workOrderAmount;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date requireDate;
    private String batchNumber;
    private int orderCustomerId;
    private String workOrderRemark;
    private int workOrderAdjust;
    private int workOrderProduce;
    private Date createTime;
    private Date updateTime;
    private Customer customer;
    private Material material;
}
